package com.zz.ecommerce.synchronousBooks.bean;

import com.zz.ecommerce.utils.SqlType;

import java.io.Serializable;

public class TCbecBookEnt implements Serializable {
    @SqlType(isEquals = true, defaultValue = "SEQ_cbec_book_ent.nextval")
    private String indx;//索引
    private String entCode;//经营单位代码  海关十位编码
    private String entName;//经营单位名称   自动跳出
    private String bookNo;//账册编号    H+关区代码+W+序号
    private String preNo;//预录入号
    private String innerEntCode;//企业内部编号
    @SqlType(isEquals = true)
    private String bookType;//账册类型
    private String managerType;//监管方式
    private String approvalBookNo;//批文账册号
    private String approvalNo;//批文证编号
    private Integer inAmount;//进口总金额
    private Integer inCount;//进口货物数
    private String inContractNo;//进口合同号
    private Integer outAmount;//出口总金额
    private Integer outCount;//出口货物项数
    private String outContractNo;//出口合同号
    @SqlType(type = "date", defaultValue = "sysdate", format = "yyyy-MM-dd hh24:mi:ss", qryStart = "recordTimeStart", qryEnd = "recordTimeEnd")
    private String recordTime;//录入日期
    @SqlType(inTable = false, type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String recordTimeStart;
    @SqlType(inTable = false, type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String recordTimeEnd;
    @SqlType(type = "date", defaultValue = "sysdate", format = "yyyy-MM-dd hh24:mi:ss", qryStart = "decTimeStart", qryEnd = "decTimeEnd")
    private String decTime;//申报日期
    @SqlType(inTable = false, type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String decTimeStart;
    @SqlType(inTable = false, type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String decTimeEnd;
    @SqlType(type = "date", format = "yyyy-MM-dd hh24:mi:ss", qryStart = "validTimeStart", qryEnd = "validTimeEnd")
    private String validTime;//结束有效期
    @SqlType(inTable = false, type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String validTimeStart;
    @SqlType(inTable = false, type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String validTimeEnd;
    private String baseVolume;//仓库体积
    private String baseArea;//仓库面积
    private Integer maxTurnoverAmount;//最大周转金额
    private String note;//备注

    public String getIndx() {
        return indx;
    }

    public void setIndx(String indx) {
        this.indx = indx;
    }

    public String getEntCode() {
        return entCode;
    }

    public void setEntCode(String entCode) {
        this.entCode = entCode;
    }

    public String getEntName() {
        return entName;
    }

    public void setEntName(String entName) {
        this.entName = entName;
    }

    public String getBookNo() {
        return bookNo;
    }

    public void setBookNo(String bookNo) {
        this.bookNo = bookNo;
    }

    public String getPreNo() {
        return preNo;
    }

    public void setPreNo(String preNo) {
        this.preNo = preNo;
    }

    public String getInnerEntCode() {
        return innerEntCode;
    }

    public void setInnerEntCode(String innerEntCode) {
        this.innerEntCode = innerEntCode;
    }

    public String getBookType() {
        return bookType;
    }

    public void setBookType(String bookType) {
        this.bookType = bookType;
    }

    public String getManagerType() {
        return managerType;
    }

    public void setManagerType(String managerType) {
        this.managerType = managerType;
    }

    public String getApprovalBookNo() {
        return approvalBookNo;
    }

    public void setApprovalBookNo(String approvalBookNo) {
        this.approvalBookNo = approvalBookNo;
    }

    public String getApprovalNo() {
        return approvalNo;
    }

    public void setApprovalNo(String approvalNo) {
        this.approvalNo = approvalNo;
    }

    public Integer getInAmount() {
        return inAmount;
    }

    public void setInAmount(Integer inAmount) {
        this.inAmount = inAmount;
    }

    public Integer getInCount() {
        return inCount;
    }

    public void setInCount(Integer inCount) {
        this.inCount = inCount;
    }

    public String getInContractNo() {
        return inContractNo;
    }

    public void setInContractNo(String inContractNo) {
        this.inContractNo = inContractNo;
    }

    public Integer getOutAmount() {
        return outAmount;
    }

    public void setOutAmount(Integer outAmount) {
        this.outAmount = outAmount;
    }

    public Integer getOutCount() {
        return outCount;
    }

    public void setOutCount(Integer outCount) {
        this.outCount = outCount;
    }

    public String getOutContractNo() {
        return outContractNo;
    }

    public void setOutContractNo(String outContractNo) {
        this.outContractNo = outContractNo;
    }

    public String getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(String recordTime) {
        this.recordTime = recordTime;
    }

    public String getRecordTimeStart() {
        return recordTimeStart;
    }

    public void setRecordTimeStart(String recordTimeStart) {
        this.recordTimeStart = recordTimeStart;
    }

    public String getRecordTimeEnd() {
        return recordTimeEnd;
    }

    public void setRecordTimeEnd(String recordTimeEnd) {
        this.recordTimeEnd = recordTimeEnd;
    }

    public String getDecTime() {
        return decTime;
    }

    public void setDecTime(String decTime) {
        this.decTime = decTime;
    }

    public String getDecTimeStart() {
        return decTimeStart;
    }

    public void setDecTimeStart(String decTimeStart) {
        this.decTimeStart = decTimeStart;
    }

    public String getDecTimeEnd() {
        return decTimeEnd;
    }

    public void setDecTimeEnd(String decTimeEnd) {
        this.decTimeEnd = decTimeEnd;
    }

    public String getValidTime() {
        return validTime;
    }

    public void setValidTime(String validTime) {
        this.validTime = validTime;
    }

    public String getValidTimeStart() {
        return validTimeStart;
    }

    public void setValidTimeStart(String validTimeStart) {
        this.validTimeStart = validTimeStart;
    }

    public String getValidTimeEnd() {
        return validTimeEnd;
    }

    public void setValidTimeEnd(String validTimeEnd) {
        this.validTimeEnd = validTimeEnd;
    }

    public String getBaseVolume() {
        return baseVolume;
    }

    public void setBaseVolume(String baseVolume) {
        this.baseVolume = baseVolume;
    }

    public String getBaseArea() {
        return baseArea;
    }

    public void setBaseArea(String baseArea) {
        this.baseArea = baseArea;
    }

    public Integer getMaxTurnoverAmount() {
        return maxTurnoverAmount;
    }

    public void setMaxTurnoverAmount(Integer maxTurnoverAmount) {
        this.maxTurnoverAmount = maxTurnoverAmount;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "TCbecBookEnt{" +
                "indx='" + indx + '\'' +
                ", entCode='" + entCode + '\'' +
                ", entName='" + entName + '\'' +
                ", bookNo='" + bookNo + '\'' +
                ", preNo='" + preNo + '\'' +
                ", innerEntCode='" + innerEntCode + '\'' +
                ", bookType='" + bookType + '\'' +
                ", managerType='" + managerType + '\'' +
                ", approvalBookNo='" + approvalBookNo + '\'' +
                ", approvalNo='" + approvalNo + '\'' +
                ", inAmount=" + inAmount +
                ", inCount=" + inCount +
                ", inContractNo='" + inContractNo + '\'' +
                ", outAmount=" + outAmount +
                ", outCount=" + outCount +
                ", outContractNo='" + outContractNo + '\'' +
                ", recordTime='" + recordTime + '\'' +
                ", recordTimeStart='" + recordTimeStart + '\'' +
                ", recordTimeEnd='" + recordTimeEnd + '\'' +
                ", decTime='" + decTime + '\'' +
                ", decTimeStart='" + decTimeStart + '\'' +
                ", decTimeEnd='" + decTimeEnd + '\'' +
                ", validTime='" + validTime + '\'' +
                ", validTimeStart='" + validTimeStart + '\'' +
                ", validTimeEnd='" + validTimeEnd + '\'' +
                ", baseVolume='" + baseVolume + '\'' +
                ", baseArea='" + baseArea + '\'' +
                ", maxTurnoverAmount=" + maxTurnoverAmount +
                ", note='" + note + '\'' +
                '}';
    }
}
